<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>VectSharp: VectSharp.ThreeD.ObjectFactory Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="Doxy.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="icon.svg"/></td>
  <td id="projectalign">
   <div id="projectname">VectSharp<span id="projectnumber">&#160;2.6.1</span>
   </div>
   <div id="projectbrief">A light library for C# vector graphics</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('class_vect_sharp_1_1_three_d_1_1_object_factory.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="class_vect_sharp_1_1_three_d_1_1_object_factory-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">VectSharp.ThreeD.ObjectFactory Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>A static class containing methods to create complex 3D objects.   
 <a href="class_vect_sharp_1_1_three_d_1_1_object_factory.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a376d4cb5fb92e0e375386cf2bc787f19"><td class="memItemLeft" align="right" valign="top">static List&lt; Element3D &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_three_d_1_1_object_factory.html#a376d4cb5fb92e0e375386cf2bc787f19">CreateCube</a> (Point3D center, double size, IEnumerable&lt; <a class="el" href="interface_vect_sharp_1_1_three_d_1_1_i_material.html">IMaterial</a> &gt; fill, string tag=null, int zIndex=0)</td></tr>
<tr class="memdesc:a376d4cb5fb92e0e375386cf2bc787f19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a cube.   <a href="class_vect_sharp_1_1_three_d_1_1_object_factory.html#a376d4cb5fb92e0e375386cf2bc787f19">More...</a><br /></td></tr>
<tr class="separator:a376d4cb5fb92e0e375386cf2bc787f19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2ab7f17ad2afce43ac8c7e0a89b7a06"><td class="memItemLeft" align="right" valign="top">static List&lt; Element3D &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_three_d_1_1_object_factory.html#ae2ab7f17ad2afce43ac8c7e0a89b7a06">CreateCuboid</a> (Point3D center, double sizeX, double sizeY, double sizeZ, IEnumerable&lt; <a class="el" href="interface_vect_sharp_1_1_three_d_1_1_i_material.html">IMaterial</a> &gt; fill, string tag=null, int zIndex=0)</td></tr>
<tr class="memdesc:ae2ab7f17ad2afce43ac8c7e0a89b7a06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a cuboid.   <a href="class_vect_sharp_1_1_three_d_1_1_object_factory.html#ae2ab7f17ad2afce43ac8c7e0a89b7a06">More...</a><br /></td></tr>
<tr class="separator:ae2ab7f17ad2afce43ac8c7e0a89b7a06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab69e8d70297c6786e22252fb194e1778"><td class="memItemLeft" align="right" valign="top">static List&lt; Element3D &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_three_d_1_1_object_factory.html#ab69e8d70297c6786e22252fb194e1778">CreateRectangle</a> (Point3D point1, Point3D point2, Point3D point3, Point3D point4, IEnumerable&lt; <a class="el" href="interface_vect_sharp_1_1_three_d_1_1_i_material.html">IMaterial</a> &gt; fill, string tag=null, int zIndex=0)</td></tr>
<tr class="memdesc:ab69e8d70297c6786e22252fb194e1778"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a quadrilater. All the vertices need not be coplanar.   <a href="class_vect_sharp_1_1_three_d_1_1_object_factory.html#ab69e8d70297c6786e22252fb194e1778">More...</a><br /></td></tr>
<tr class="separator:ab69e8d70297c6786e22252fb194e1778"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac21df988af459b50f5403ed3e73b949c"><td class="memItemLeft" align="right" valign="top">static List&lt; Element3D &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_three_d_1_1_object_factory.html#ac21df988af459b50f5403ed3e73b949c">CreateRectangle</a> (Point3D point1, Point3D point2, Point3D point3, Point3D point4, NormalizedVector3D point1Normal, NormalizedVector3D point2Normal, NormalizedVector3D point3Normal, NormalizedVector3D point4Normal, IEnumerable&lt; <a class="el" href="interface_vect_sharp_1_1_three_d_1_1_i_material.html">IMaterial</a> &gt; fill, string tag=null, int zIndex=0)</td></tr>
<tr class="memdesc:ac21df988af459b50f5403ed3e73b949c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a quadrilater, specifying the vertex normals at the four vertices. All the vertices need not be coplanar.   <a href="class_vect_sharp_1_1_three_d_1_1_object_factory.html#ac21df988af459b50f5403ed3e73b949c">More...</a><br /></td></tr>
<tr class="separator:ac21df988af459b50f5403ed3e73b949c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af199b810db89fa0f49e5aab5eb28eaa5"><td class="memItemLeft" align="right" valign="top">static List&lt; Element3D &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_three_d_1_1_object_factory.html#af199b810db89fa0f49e5aab5eb28eaa5">CreateSphere</a> (Point3D center, double radius, int steps, IEnumerable&lt; <a class="el" href="interface_vect_sharp_1_1_three_d_1_1_i_material.html">IMaterial</a> &gt; fill, string tag=null, int zIndex=0)</td></tr>
<tr class="memdesc:af199b810db89fa0f49e5aab5eb28eaa5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a sphere.   <a href="class_vect_sharp_1_1_three_d_1_1_object_factory.html#af199b810db89fa0f49e5aab5eb28eaa5">More...</a><br /></td></tr>
<tr class="separator:af199b810db89fa0f49e5aab5eb28eaa5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a496a93f5fafd9eab5419dd77ee7bbd1c"><td class="memItemLeft" align="right" valign="top">static List&lt; Element3D &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_three_d_1_1_object_factory.html#a496a93f5fafd9eab5419dd77ee7bbd1c">CreateTetrahedron</a> (Point3D center, double radius, IEnumerable&lt; <a class="el" href="interface_vect_sharp_1_1_three_d_1_1_i_material.html">IMaterial</a> &gt; fill, string tag=null, int zIndex=0)</td></tr>
<tr class="memdesc:a496a93f5fafd9eab5419dd77ee7bbd1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a tetrahedron inscribed in a sphere.   <a href="class_vect_sharp_1_1_three_d_1_1_object_factory.html#a496a93f5fafd9eab5419dd77ee7bbd1c">More...</a><br /></td></tr>
<tr class="separator:a496a93f5fafd9eab5419dd77ee7bbd1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1ef41a38e9e7edf6800c1a37b1b8c27"><td class="memItemLeft" align="right" valign="top">static List&lt; Element3D &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_three_d_1_1_object_factory.html#ad1ef41a38e9e7edf6800c1a37b1b8c27">CreatePolygon</a> (<a class="el" href="class_vect_sharp_1_1_graphics_path.html">GraphicsPath</a> polygon2D, double triangulationResolution, Point3D origin, NormalizedVector3D xAxis, NormalizedVector3D yAxis, bool reverseTriangles, IEnumerable&lt; <a class="el" href="interface_vect_sharp_1_1_three_d_1_1_i_material.html">IMaterial</a> &gt; fill, string tag=null, int zIndex=0)</td></tr>
<tr class="memdesc:ad1ef41a38e9e7edf6800c1a37b1b8c27"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a flat polygon.   <a href="class_vect_sharp_1_1_three_d_1_1_object_factory.html#ad1ef41a38e9e7edf6800c1a37b1b8c27">More...</a><br /></td></tr>
<tr class="separator:ad1ef41a38e9e7edf6800c1a37b1b8c27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2811002342f03cc3e514b62203ff1bce"><td class="memItemLeft" align="right" valign="top">static List&lt; Element3D &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_three_d_1_1_object_factory.html#a2811002342f03cc3e514b62203ff1bce">CreatePrism</a> (<a class="el" href="class_vect_sharp_1_1_graphics_path.html">GraphicsPath</a> polygonBase2D, double triangulationResolution, Point3D bottomOrigin, Point3D topOrigin, NormalizedVector3D baseXAxis, NormalizedVector3D baseYAxis, IEnumerable&lt; <a class="el" href="interface_vect_sharp_1_1_three_d_1_1_i_material.html">IMaterial</a> &gt; fill, string tag=null, int zIndex=0)</td></tr>
<tr class="memdesc:a2811002342f03cc3e514b62203ff1bce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a prism with the specified base.   <a href="class_vect_sharp_1_1_three_d_1_1_object_factory.html#a2811002342f03cc3e514b62203ff1bce">More...</a><br /></td></tr>
<tr class="separator:a2811002342f03cc3e514b62203ff1bce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc4f6ad96a4e54ba8bb6aed6f042271c"><td class="memItemLeft" align="right" valign="top">static List&lt; Element3D &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_three_d_1_1_object_factory.html#adc4f6ad96a4e54ba8bb6aed6f042271c">CreateWireframe</a> (IEnumerable&lt; Element3D &gt; object3D, <a class="el" href="struct_vect_sharp_1_1_colour.html">Colour</a> colour, double thickness=1, <a class="el" href="namespace_vect_sharp.html#a6bde58d6aab37ea51e32240503678209">LineCaps</a> lineCap=LineCaps.Butt, <a class="el" href="struct_vect_sharp_1_1_line_dash.html">LineDash</a>? lineDash=null, string tag=null, int zIndex=0)</td></tr>
<tr class="memdesc:adc4f6ad96a4e54ba8bb6aed6f042271c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a wireframe from a collection of Element3Ds.   <a href="class_vect_sharp_1_1_three_d_1_1_object_factory.html#adc4f6ad96a4e54ba8bb6aed6f042271c">More...</a><br /></td></tr>
<tr class="separator:adc4f6ad96a4e54ba8bb6aed6f042271c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3364c52507bb8715a45a0a1e585d03e"><td class="memItemLeft" align="right" valign="top">static List&lt; Element3D &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_three_d_1_1_object_factory.html#ad3364c52507bb8715a45a0a1e585d03e">CreatePoints</a> (IEnumerable&lt; Element3D &gt; object3D, <a class="el" href="struct_vect_sharp_1_1_colour.html">Colour</a> colour, double diameter=1, string tag=null, int zIndex=0)</td></tr>
<tr class="memdesc:ad3364c52507bb8715a45a0a1e585d03e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtains a list of Point3DElement corresponding to the vertices of a list of Element3Ds.   <a href="class_vect_sharp_1_1_three_d_1_1_object_factory.html#ad3364c52507bb8715a45a0a1e585d03e">More...</a><br /></td></tr>
<tr class="separator:ad3364c52507bb8715a45a0a1e585d03e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >A static class containing methods to create complex 3D objects.  </p>

<p class="definition">Definition at line <a class="el" href="_object_factory_8cs_source.html#l00028">28</a> of file <a class="el" href="_object_factory_8cs_source.html">ObjectFactory.cs</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a376d4cb5fb92e0e375386cf2bc787f19" name="a376d4cb5fb92e0e375386cf2bc787f19"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a376d4cb5fb92e0e375386cf2bc787f19">&#9670;&#160;</a></span>CreateCube()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static List&lt; Element3D &gt; VectSharp.ThreeD.ObjectFactory.CreateCube </td>
          <td>(</td>
          <td class="paramtype">Point3D&#160;</td>
          <td class="paramname"><em>center</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IEnumerable&lt; <a class="el" href="interface_vect_sharp_1_1_three_d_1_1_i_material.html">IMaterial</a> &gt;&#160;</td>
          <td class="paramname"><em>fill</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>tag</em> = <code>null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>zIndex</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a cube.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">center</td><td>The centre of the cube.</td></tr>
    <tr><td class="paramname">size</td><td>The length of each side of the cube.</td></tr>
    <tr><td class="paramname">fill</td><td>A collection of materials that will be applied to the Triangle3DElements returned by this method.</td></tr>
    <tr><td class="paramname">tag</td><td>A tag that will be applied to the Triangle3DElements returned by this method.</td></tr>
    <tr><td class="paramname">zIndex</td><td>A z-index that will be applied to the Triangle3DElements returned by this method.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A list of Triangle3DElements that constitute the cube.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_object_factory_8cs_source.html#l00039">39</a> of file <a class="el" href="_object_factory_8cs_source.html">ObjectFactory.cs</a>.</p>

</div>
</div>
<a id="ae2ab7f17ad2afce43ac8c7e0a89b7a06" name="ae2ab7f17ad2afce43ac8c7e0a89b7a06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2ab7f17ad2afce43ac8c7e0a89b7a06">&#9670;&#160;</a></span>CreateCuboid()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static List&lt; Element3D &gt; VectSharp.ThreeD.ObjectFactory.CreateCuboid </td>
          <td>(</td>
          <td class="paramtype">Point3D&#160;</td>
          <td class="paramname"><em>center</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>sizeX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>sizeY</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>sizeZ</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IEnumerable&lt; <a class="el" href="interface_vect_sharp_1_1_three_d_1_1_i_material.html">IMaterial</a> &gt;&#160;</td>
          <td class="paramname"><em>fill</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>tag</em> = <code>null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>zIndex</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a cuboid.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">center</td><td>The centre of the cube.</td></tr>
    <tr><td class="paramname">sizeX</td><td>The length of the sides of the cube parallel to the x axis.</td></tr>
    <tr><td class="paramname">sizeY</td><td>The length of the sides of the cube parallel to the y axis.</td></tr>
    <tr><td class="paramname">sizeZ</td><td>The length of the sides of the cube parallel to the z axis.</td></tr>
    <tr><td class="paramname">fill</td><td>A collection of materials that will be applied to the Triangle3DElements returned by this method.</td></tr>
    <tr><td class="paramname">tag</td><td>A tag that will be applied to the Triangle3DElements returned by this method.</td></tr>
    <tr><td class="paramname">zIndex</td><td>A z-index that will be applied to the Triangle3DElements returned by this method.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A list of Triangle3DElements that constitute the cuboid.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_object_factory_8cs_source.html#l00055">55</a> of file <a class="el" href="_object_factory_8cs_source.html">ObjectFactory.cs</a>.</p>

</div>
</div>
<a id="ad3364c52507bb8715a45a0a1e585d03e" name="ad3364c52507bb8715a45a0a1e585d03e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3364c52507bb8715a45a0a1e585d03e">&#9670;&#160;</a></span>CreatePoints()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static List&lt; Element3D &gt; VectSharp.ThreeD.ObjectFactory.CreatePoints </td>
          <td>(</td>
          <td class="paramtype">IEnumerable&lt; Element3D &gt;&#160;</td>
          <td class="paramname"><em>object3D</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_vect_sharp_1_1_colour.html">Colour</a>&#160;</td>
          <td class="paramname"><em>colour</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>diameter</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>tag</em> = <code>null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>zIndex</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Obtains a list of Point3DElement corresponding to the vertices of a list of Element3Ds.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">object3D</td><td>The collection of Element3Ds. Point3DElements are ignored.</td></tr>
    <tr><td class="paramname">colour</td><td>The colour of the Point3DElements returned by this method.</td></tr>
    <tr><td class="paramname">diameter</td><td>The diameter of the Point3DElements returned by this method.</td></tr>
    <tr><td class="paramname">tag</td><td>A tag that will be applied to the Point3DElements returned by this method.</td></tr>
    <tr><td class="paramname">zIndex</td><td>A z-index that will be applied to the Point3DElements returned by this method.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A list of Point3DElements corresponding to the vertices of the Element3Ds.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_object_factory_8cs_source.html#l00412">412</a> of file <a class="el" href="_object_factory_8cs_source.html">ObjectFactory.cs</a>.</p>

</div>
</div>
<a id="ad1ef41a38e9e7edf6800c1a37b1b8c27" name="ad1ef41a38e9e7edf6800c1a37b1b8c27"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1ef41a38e9e7edf6800c1a37b1b8c27">&#9670;&#160;</a></span>CreatePolygon()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static List&lt; Element3D &gt; VectSharp.ThreeD.ObjectFactory.CreatePolygon </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_graphics_path.html">GraphicsPath</a>&#160;</td>
          <td class="paramname"><em>polygon2D</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>triangulationResolution</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Point3D&#160;</td>
          <td class="paramname"><em>origin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">NormalizedVector3D&#160;</td>
          <td class="paramname"><em>xAxis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">NormalizedVector3D&#160;</td>
          <td class="paramname"><em>yAxis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>reverseTriangles</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IEnumerable&lt; <a class="el" href="interface_vect_sharp_1_1_three_d_1_1_i_material.html">IMaterial</a> &gt;&#160;</td>
          <td class="paramname"><em>fill</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>tag</em> = <code>null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>zIndex</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a flat polygon.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">polygon2D</td><td>A 2D <a class="el" href="class_vect_sharp_1_1_graphics_path.html" title="Represents a graphics path that can be filled or stroked.">GraphicsPath</a> representing the polygon.</td></tr>
    <tr><td class="paramname">triangulationResolution</td><td>The resolution that will be used to linearise curve segments in the <a class="el" href="class_vect_sharp_1_1_graphics_path.html" title="Represents a graphics path that can be filled or stroked.">GraphicsPath</a>.</td></tr>
    <tr><td class="paramname">origin</td><td>A Point3D that will correspond to the origin of the 2D reference system.</td></tr>
    <tr><td class="paramname">xAxis</td><td>A NormalizedVector3D that will correspond to the x axis of the 2D reference system. This will be orthonormalised to the <em>yAxis</em> .</td></tr>
    <tr><td class="paramname">yAxis</td><td>A NormalizedVector3D that will correspond to the y axis of the 2D reference system.</td></tr>
    <tr><td class="paramname">reverseTriangles</td><td>Indicates whether the order of the points (and thus the normals) of all the triangles returned by this method should be reversed.</td></tr>
    <tr><td class="paramname">fill</td><td>A collection of materials that will be applied to the Triangle3DElements returned by this method.</td></tr>
    <tr><td class="paramname">tag</td><td>A tag that will be applied to the Triangle3DElements returned by this method.</td></tr>
    <tr><td class="paramname">zIndex</td><td>A z-index that will be applied to the Triangle3DElements returned by this method.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A list of Triangle3DElements that constitute the polygon.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_object_factory_8cs_source.html#l00273">273</a> of file <a class="el" href="_object_factory_8cs_source.html">ObjectFactory.cs</a>.</p>

</div>
</div>
<a id="a2811002342f03cc3e514b62203ff1bce" name="a2811002342f03cc3e514b62203ff1bce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2811002342f03cc3e514b62203ff1bce">&#9670;&#160;</a></span>CreatePrism()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static List&lt; Element3D &gt; VectSharp.ThreeD.ObjectFactory.CreatePrism </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_graphics_path.html">GraphicsPath</a>&#160;</td>
          <td class="paramname"><em>polygonBase2D</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>triangulationResolution</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Point3D&#160;</td>
          <td class="paramname"><em>bottomOrigin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Point3D&#160;</td>
          <td class="paramname"><em>topOrigin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">NormalizedVector3D&#160;</td>
          <td class="paramname"><em>baseXAxis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">NormalizedVector3D&#160;</td>
          <td class="paramname"><em>baseYAxis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IEnumerable&lt; <a class="el" href="interface_vect_sharp_1_1_three_d_1_1_i_material.html">IMaterial</a> &gt;&#160;</td>
          <td class="paramname"><em>fill</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>tag</em> = <code>null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>zIndex</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a prism with the specified base.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">polygonBase2D</td><td>A 2D <a class="el" href="class_vect_sharp_1_1_graphics_path.html" title="Represents a graphics path that can be filled or stroked.">GraphicsPath</a> representing the base of the prism.</td></tr>
    <tr><td class="paramname">triangulationResolution</td><td>The resolution that will be used to linearise curve segments in the <a class="el" href="class_vect_sharp_1_1_graphics_path.html" title="Represents a graphics path that can be filled or stroked.">GraphicsPath</a>.</td></tr>
    <tr><td class="paramname">bottomOrigin</td><td>A Point3D that will correspond to the origin of the 2D reference system of the bottom base.</td></tr>
    <tr><td class="paramname">topOrigin</td><td>A Point3D that will correspond to the origin of the 2D reference system of the top base.</td></tr>
    <tr><td class="paramname">baseXAxis</td><td>A NormalizedVector3D that will correspond to the x axis of the 2D reference system of the bases. This will be orthonormalised to the <em>baseYAxis</em> .</td></tr>
    <tr><td class="paramname">baseYAxis</td><td>A NormalizedVector3D that will correspond to the y axis of the 2D reference system of the bases.</td></tr>
    <tr><td class="paramname">fill</td><td>A collection of materials that will be applied to the Triangle3DElements returned by this method.</td></tr>
    <tr><td class="paramname">tag</td><td>A tag that will be applied to the Triangle3DElements returned by this method.</td></tr>
    <tr><td class="paramname">zIndex</td><td>A z-index that will be applied to the Triangle3DElements returned by this method.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A list of Triangle3DElements that constitute the prism.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_object_factory_8cs_source.html#l00314">314</a> of file <a class="el" href="_object_factory_8cs_source.html">ObjectFactory.cs</a>.</p>

</div>
</div>
<a id="ab69e8d70297c6786e22252fb194e1778" name="ab69e8d70297c6786e22252fb194e1778"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab69e8d70297c6786e22252fb194e1778">&#9670;&#160;</a></span>CreateRectangle() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static List&lt; Element3D &gt; VectSharp.ThreeD.ObjectFactory.CreateRectangle </td>
          <td>(</td>
          <td class="paramtype">Point3D&#160;</td>
          <td class="paramname"><em>point1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Point3D&#160;</td>
          <td class="paramname"><em>point2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Point3D&#160;</td>
          <td class="paramname"><em>point3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Point3D&#160;</td>
          <td class="paramname"><em>point4</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IEnumerable&lt; <a class="el" href="interface_vect_sharp_1_1_three_d_1_1_i_material.html">IMaterial</a> &gt;&#160;</td>
          <td class="paramname"><em>fill</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>tag</em> = <code>null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>zIndex</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a quadrilater. All the vertices need not be coplanar.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">point1</td><td>The first vertex of the quadrilater.</td></tr>
    <tr><td class="paramname">point2</td><td>The second vertex of the quadrilater.</td></tr>
    <tr><td class="paramname">point3</td><td>The third vertex of the quadrilater.</td></tr>
    <tr><td class="paramname">point4</td><td>The fourth vertex of the quadrilater.</td></tr>
    <tr><td class="paramname">fill</td><td>A collection of materials that will be applied to the Triangle3DElements returned by this method.</td></tr>
    <tr><td class="paramname">tag</td><td>A tag that will be applied to the Triangle3DElements returned by this method.</td></tr>
    <tr><td class="paramname">zIndex</td><td>A z-index that will be applied to the Triangle3DElements returned by this method.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A list containing two Triangle3DElements representing the quadrilater.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_object_factory_8cs_source.html#l00093">93</a> of file <a class="el" href="_object_factory_8cs_source.html">ObjectFactory.cs</a>.</p>

</div>
</div>
<a id="ac21df988af459b50f5403ed3e73b949c" name="ac21df988af459b50f5403ed3e73b949c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac21df988af459b50f5403ed3e73b949c">&#9670;&#160;</a></span>CreateRectangle() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static List&lt; Element3D &gt; VectSharp.ThreeD.ObjectFactory.CreateRectangle </td>
          <td>(</td>
          <td class="paramtype">Point3D&#160;</td>
          <td class="paramname"><em>point1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Point3D&#160;</td>
          <td class="paramname"><em>point2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Point3D&#160;</td>
          <td class="paramname"><em>point3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Point3D&#160;</td>
          <td class="paramname"><em>point4</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">NormalizedVector3D&#160;</td>
          <td class="paramname"><em>point1Normal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">NormalizedVector3D&#160;</td>
          <td class="paramname"><em>point2Normal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">NormalizedVector3D&#160;</td>
          <td class="paramname"><em>point3Normal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">NormalizedVector3D&#160;</td>
          <td class="paramname"><em>point4Normal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IEnumerable&lt; <a class="el" href="interface_vect_sharp_1_1_three_d_1_1_i_material.html">IMaterial</a> &gt;&#160;</td>
          <td class="paramname"><em>fill</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>tag</em> = <code>null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>zIndex</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a quadrilater, specifying the vertex normals at the four vertices. All the vertices need not be coplanar.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">point1</td><td>The first vertex of the quadrilater.</td></tr>
    <tr><td class="paramname">point2</td><td>The second vertex of the quadrilater.</td></tr>
    <tr><td class="paramname">point3</td><td>The third vertex of the quadrilater.</td></tr>
    <tr><td class="paramname">point4</td><td>The fourth vertex of the quadrilater.</td></tr>
    <tr><td class="paramname">point1Normal</td><td>The vertex normal at the first vertex of the quadrilater.</td></tr>
    <tr><td class="paramname">point2Normal</td><td>The vertex normal at the second vertex of the quadrilater.</td></tr>
    <tr><td class="paramname">point3Normal</td><td>The vertex normal at the third vertex of the quadrilater.</td></tr>
    <tr><td class="paramname">point4Normal</td><td>The vertex normal at the fourth vertex of the quadrilater.</td></tr>
    <tr><td class="paramname">fill</td><td>A collection of materials that will be applied to the Triangle3DElements returned by this method.</td></tr>
    <tr><td class="paramname">tag</td><td>A tag that will be applied to the Triangle3DElements returned by this method.</td></tr>
    <tr><td class="paramname">zIndex</td><td>A z-index that will be applied to the Triangle3DElements returned by this method.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A list containing two Triangle3DElements representing the quadrilater.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_object_factory_8cs_source.html#l00123">123</a> of file <a class="el" href="_object_factory_8cs_source.html">ObjectFactory.cs</a>.</p>

</div>
</div>
<a id="af199b810db89fa0f49e5aab5eb28eaa5" name="af199b810db89fa0f49e5aab5eb28eaa5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af199b810db89fa0f49e5aab5eb28eaa5">&#9670;&#160;</a></span>CreateSphere()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static List&lt; Element3D &gt; VectSharp.ThreeD.ObjectFactory.CreateSphere </td>
          <td>(</td>
          <td class="paramtype">Point3D&#160;</td>
          <td class="paramname"><em>center</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>radius</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>steps</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IEnumerable&lt; <a class="el" href="interface_vect_sharp_1_1_three_d_1_1_i_material.html">IMaterial</a> &gt;&#160;</td>
          <td class="paramname"><em>fill</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>tag</em> = <code>null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>zIndex</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a sphere.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">center</td><td>The centre of the sphere.</td></tr>
    <tr><td class="paramname">radius</td><td>The radius of the sphere.</td></tr>
    <tr><td class="paramname">steps</td><td>The number of meridians and parallels to use when generating the sphere.</td></tr>
    <tr><td class="paramname">fill</td><td>A collection of materials that will be applied to the Triangle3DElements returned by this method.</td></tr>
    <tr><td class="paramname">tag</td><td>A tag that will be applied to the Triangle3DElements returned by this method.</td></tr>
    <tr><td class="paramname">zIndex</td><td>A z-index that will be applied to the Triangle3DElements returned by this method.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A list of Triangle3DElements that constitute the sphere.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_object_factory_8cs_source.html#l00148">148</a> of file <a class="el" href="_object_factory_8cs_source.html">ObjectFactory.cs</a>.</p>

</div>
</div>
<a id="a496a93f5fafd9eab5419dd77ee7bbd1c" name="a496a93f5fafd9eab5419dd77ee7bbd1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a496a93f5fafd9eab5419dd77ee7bbd1c">&#9670;&#160;</a></span>CreateTetrahedron()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static List&lt; Element3D &gt; VectSharp.ThreeD.ObjectFactory.CreateTetrahedron </td>
          <td>(</td>
          <td class="paramtype">Point3D&#160;</td>
          <td class="paramname"><em>center</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>radius</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IEnumerable&lt; <a class="el" href="interface_vect_sharp_1_1_three_d_1_1_i_material.html">IMaterial</a> &gt;&#160;</td>
          <td class="paramname"><em>fill</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>tag</em> = <code>null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>zIndex</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a tetrahedron inscribed in a sphere.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">center</td><td>The centre of the tetrahedron.</td></tr>
    <tr><td class="paramname">radius</td><td>The radius of the sphere in which the tetrahedron is inscribed.</td></tr>
    <tr><td class="paramname">fill</td><td>A collection of materials that will be applied to the Triangle3DElements returned by this method.</td></tr>
    <tr><td class="paramname">tag</td><td>A tag that will be applied to the Triangle3DElements returned by this method.</td></tr>
    <tr><td class="paramname">zIndex</td><td>A z-index that will be applied to the Triangle3DElements returned by this method.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A list of Triangle3DElements that constitute the sphere.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_object_factory_8cs_source.html#l00238">238</a> of file <a class="el" href="_object_factory_8cs_source.html">ObjectFactory.cs</a>.</p>

</div>
</div>
<a id="adc4f6ad96a4e54ba8bb6aed6f042271c" name="adc4f6ad96a4e54ba8bb6aed6f042271c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc4f6ad96a4e54ba8bb6aed6f042271c">&#9670;&#160;</a></span>CreateWireframe()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static List&lt; Element3D &gt; VectSharp.ThreeD.ObjectFactory.CreateWireframe </td>
          <td>(</td>
          <td class="paramtype">IEnumerable&lt; Element3D &gt;&#160;</td>
          <td class="paramname"><em>object3D</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_vect_sharp_1_1_colour.html">Colour</a>&#160;</td>
          <td class="paramname"><em>colour</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>thickness</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_vect_sharp.html#a6bde58d6aab37ea51e32240503678209">LineCaps</a>&#160;</td>
          <td class="paramname"><em>lineCap</em> = <code>LineCaps.Butt</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_vect_sharp_1_1_line_dash.html">LineDash</a>?&#160;</td>
          <td class="paramname"><em>lineDash</em> = <code>null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>tag</em> = <code>null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>zIndex</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a wireframe from a collection of Element3Ds.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">object3D</td><td>The collection of Element3Ds. Line3DElements and Point3DElements are ignored.</td></tr>
    <tr><td class="paramname">colour</td><td>The colour of the Line3DElements returned by this method.</td></tr>
    <tr><td class="paramname">thickness</td><td>The thickness of the Line3DElements returned by this method.</td></tr>
    <tr><td class="paramname">lineCap</td><td>The line cap of the Line3DElements returned by this method.</td></tr>
    <tr><td class="paramname">lineDash</td><td>The line dash of the Line3DElements returned by this method.</td></tr>
    <tr><td class="paramname">tag</td><td>A tag that will be applied to the Line3DElements returned by this method.</td></tr>
    <tr><td class="paramname">zIndex</td><td>A z-index that will be applied to the Line3DElements returned by this method.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A list of Line3DElements that constitute the wireframe.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_object_factory_8cs_source.html#l00370">370</a> of file <a class="el" href="_object_factory_8cs_source.html">ObjectFactory.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>VectSharp.ThreeD/<a class="el" href="_object_factory_8cs_source.html">ObjectFactory.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_vect_sharp.html">VectSharp</a></li><li class="navelem"><a class="el" href="namespace_vect_sharp_1_1_three_d.html">ThreeD</a></li><li class="navelem"><a class="el" href="class_vect_sharp_1_1_three_d_1_1_object_factory.html">ObjectFactory</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
  </ul>
</div>
</body>
</html>
